#ifndef DIALOGTARGETCOORDINATES_H
#define DIALOGTARGETCOORDINATES_H

#include <QDialog>
#include <opencv2/opencv.hpp>

namespace Ui {
class dialogTargetCoordinates;
}

class dialogTargetCoordinates : public QDialog
{
    Q_OBJECT
    
public:
    explicit dialogTargetCoordinates(QWidget *parent = 0);
    ~dialogTargetCoordinates();
    void setUV(float u,float v);  //created with pixel coordinates
    void setXYZ(cv::Point3f World); //world xyz if known


    float WorldX,WorldY,WorldZ;  // entered values for X,Y,Z


    
private slots:
    void on_lineEdit_WorldX_editingFinished();

    void on_lineEdit_WorldY_editingFinished();

    void on_lineEdit_WorldZ_editingFinished();

    void verify();

private:
    Ui::dialogTargetCoordinates *ui;
};

#endif // DIALOGTARGETCOORDINATES_H
